/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.isd.inventario.modelo;

import java.io.Serializable;

/**
 *
 * @author ctrosch
 */

public class RubrosClientePK implements Serializable {


    private String nrocta;
    private String tippro;
    private String rubr01;
    private String rubr02;
    private String origen;
    private String novedad;
    private String diponibleEnInternet;

    public RubrosClientePK() {

    }

    public String getNovedad() {
        return novedad;
    }

    public void setNovedad(String novedad) {
        this.novedad = novedad;
    }

    public String getNrocta() {
        return nrocta;
    }

    public void setNrocta(String nrocta) {
        this.nrocta = nrocta;
    }

    public String getOrigen() {
        return origen;
    }

    public void setOrigen(String origen) {
        this.origen = origen;
    }

    public String getRubr01() {
        return rubr01;
    }

    public void setRubr01(String rubr01) {
        this.rubr01 = rubr01;
    }

    public String getRubr02() {
        return rubr02;
    }

    public void setRubr02(String rubr02) {
        this.rubr02 = rubr02;
    }

    public String getTippro() {
        return tippro;
    }

    public void setTippro(String tippro) {
        this.tippro = tippro;
    }

    public String getDiponibleEnInternet() {
        return diponibleEnInternet;
    }

    public void setDiponibleEnInternet(String diponibleEnInternet) {
        this.diponibleEnInternet = diponibleEnInternet;
    }



    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final RubrosClientePK other = (RubrosClientePK) obj;
        if ((this.nrocta == null) ? (other.nrocta != null) : !this.nrocta.equals(other.nrocta)) {
            return false;
        }
        if ((this.tippro == null) ? (other.tippro != null) : !this.tippro.equals(other.tippro)) {
            return false;
        }
        if ((this.rubr01 == null) ? (other.rubr01 != null) : !this.rubr01.equals(other.rubr01)) {
            return false;
        }
        if ((this.rubr02 == null) ? (other.rubr02 != null) : !this.rubr02.equals(other.rubr02)) {
            return false;
        }
        if ((this.origen == null) ? (other.origen != null) : !this.origen.equals(other.origen)) {
            return false;
        }
        if ((this.novedad == null) ? (other.novedad != null) : !this.novedad.equals(other.novedad)) {
            return false;
        }
        if ((this.diponibleEnInternet == null) ? (other.diponibleEnInternet != null) : !this.diponibleEnInternet.equals(other.diponibleEnInternet)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 97 * hash + (this.nrocta != null ? this.nrocta.hashCode() : 0);
        hash = 97 * hash + (this.tippro != null ? this.tippro.hashCode() : 0);
        hash = 97 * hash + (this.rubr01 != null ? this.rubr01.hashCode() : 0);
        hash = 97 * hash + (this.rubr02 != null ? this.rubr02.hashCode() : 0);
        hash = 97 * hash + (this.origen != null ? this.origen.hashCode() : 0);
        hash = 97 * hash + (this.novedad != null ? this.novedad.hashCode() : 0);
        hash = 97 * hash + (this.diponibleEnInternet != null ? this.diponibleEnInternet.hashCode() : 0);
        return hash;
    }

    @Override
    public String toString() {
        return "RubrosClientePK{" + "nrocta=" + nrocta + "tippro=" + tippro + "rubr01=" + rubr01 + "rubr02=" + rubr02 + "origen=" + origen + "novedad=" + novedad + "diponibleEnInternet=" + diponibleEnInternet + '}';
    }



    

    
}
